<?php

define('APP_PATH', realpath(dirname(__FILE__) . '/../'));

Yaf\Loader::import(APP_PATH . '/application/init.php');

$app = new Yaf\Application(APP_PATH . '/conf/application.ini');
//echo 1;die;
require "../vendor/autoload.php";
$app->getDispatcher()->throwException(TRUE);
$app->bootstrap()->run();